package com.dailyblue.java.spring.cloud.nacos;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication
@EnableDiscoveryClient   // 让当前微服务注册到注册中心并被发现
public class SpringcloudNacosExample8001Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringcloudNacosExample8001Application.class, args);
    }

}
